package com.pro.db.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 回复表
 * </p>
 *
 * @author wanglei
 * @since 2020-01-07
 */
public class BbsComment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 站点id
     */
    private Integer siteId;

    /**
     * 板块id
     */
    private Integer forumId;

    /**
     * 帖子id
     */
    private Integer topicId;

    /**
     * 帖子标题
     */
    @TableField(exist = false)
    private String topicName;

    /**
     * 内容
     */
    private String content;

    /**
     * 喜欢数
     */
    private Integer likeNum;

    /**
     * 是否展示
     */
    private Integer pushStatus;

    /**
     * 展示顺序
     */
    private Integer pushSort;

    /**
     * 是否热门
     */
    private Integer hotTag;

    /**
     * 创建者id
     */
    private Integer createUserId;

    /**
     * 创建者账号
     */
    private String createUsername;

    /**
     * 创建者昵称
     */
    private String createNickname;

    /**
     * 创建者头像
     */
    private String createAvatar;

    /**
     * 创建时间
     */
    private LocalDateTime addTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 管理员id
     */
    private Integer adminId;

    /**
     * 管理员名字
     */
    private String adminName;

    /**
     * 逻辑删除
     */
    private Boolean deleted;

    /**
     * 评论人信息
     */
    @TableField(exist = false)
    private ProUser user;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public Integer getForumId() {
        return forumId;
    }

    public void setForumId(Integer forumId) {
        this.forumId = forumId;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(Integer likeNum) {
        this.likeNum = likeNum;
    }

    public Integer getPushStatus() {
        return pushStatus;
    }

    public void setPushStatus(Integer pushStatus) {
        this.pushStatus = pushStatus;
    }

    public Integer getPushSort() {
        return pushSort;
    }

    public void setPushSort(Integer pushSort) {
        this.pushSort = pushSort;
    }

    public Integer getHotTag() {
        return hotTag;
    }

    public void setHotTag(Integer hotTag) {
        this.hotTag = hotTag;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUsername() {
        return createUsername;
    }

    public void setCreateUsername(String createUsername) {
        this.createUsername = createUsername;
    }

    public String getCreateNickname() {
        return createNickname;
    }

    public void setCreateNickname(String createNickname) {
        this.createNickname = createNickname;
    }

    public String getCreateAvatar() {
        return createAvatar;
    }

    public void setCreateAvatar(String createAvatar) {
        this.createAvatar = createAvatar;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public ProUser getUser() {
        return user;
    }

    public void setUser(ProUser user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "BbsComment{" +
        "id=" + id +
        ", siteId=" + siteId +
        ", forumId=" + forumId +
        ", topicId=" + topicId +
        ", content=" + content +
        ", likeNum=" + likeNum +
        ", pushStatus=" + pushStatus +
        ", pushSort=" + pushSort +
        ", hotTag=" + hotTag +
        ", createUserId=" + createUserId +
        ", createUsername=" + createUsername +
        ", createNickname=" + createNickname +
        ", createAvatar=" + createAvatar +
        ", addTime=" + addTime +
        ", updateTime=" + updateTime +
        ", adminId=" + adminId +
        ", adminName=" + adminName +
        ", deleted=" + deleted +
        "}";
    }
}
